Defines a collection of PDF pages.
Adds a new page at the end of the collection.
Clears the collection.
This method supports the internal library infrastructure and should not be used by external client code.
Converts the internal pages structure from a list to a tree.
By default, the library stores the pages in a single list which can become very large if the document has many pages. Some PDF processors have trouble procesing such long lists, so this method transform the internal pages structure into a tree.
Note: This method should be called only once before the document is saved and only on documents creates from scratch with the library.
This method supports the internal library infrastructure and should not be used by external client code.
This method supports the internal library infrastructure and should not be used by external client code.
Removes an object from the collection.
Removes the object at the specified index from the collection.
This method supports the internal library infrastructure and should not be used by external client code.
Replaces an object at the specified index in the collection.
This method supports the internal library infrastructure and should not be used by external client code.